package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Lesson;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;
import org.apache.poi.ss.usermodel.Workbook;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface ILessonService {

    void saveOrUpdate(Lesson entity);

    Lesson selectByPrimaryKey(Long id);

    List<Lesson> selectAll();

    PageResult quey4List(QueryObject qo);

    //课程的导入导出展示不需要
//    void importXls(MultipartFile file, HttpServletResponse response) throws Exception;
//
//    //获取导入模板
//    Workbook getImportXlsMode();
//


}
